#ifndef SYSTEMTRAYICON_H
#define SYSTEMTRAYICON_H

#include<QMenu>
#include<QSystemTrayIcon>

class SystemTrayIcon: public QSystemTrayIcon{
Q_OBJECT
public:
	SystemTrayIcon(QWidget *parent);
	~SystemTrayIcon();
	void addActions(QAction *prev, QAction *playPause, QAction *next, QAction *stop, QAction *quit, QAction *restoreHide, QAction *configure);
private slots:
	void slotActivated(QSystemTrayIcon::ActivationReason reason);
private:
	QMenu *m_menu;
	QAction *m_actionRestoreHide;
};

#endif
